//
//  City.m
//  课堂代码Two
//
//  Created by dllo on 16/7/11.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "City.h"

@implementation City
- (instancetype)initWithName:(NSString *)name {
      self = [super initWithName:name];
      if (self) {
            _arr = [NSMutableArray array];
      }
      return self;
}
- (NSString *)description {
      return [NSString stringWithFormat:@"%@ %@",_arr,self.name];
}
- (instancetype)initWithName:(NSString *)name number:(NSString *)number {
      self = [super initWithName:name number:number];
      if (self) {
            _arr = [NSMutableArray array];
      }
      return self;
}

@end
